package com.woniuxy.service;

import com.woniuxy.dto.DataGridView;
import com.woniuxy.pojo.*;
import com.woniuxy.vo.McarParkingVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;

public interface UserService {

    Integer selectCarNums(Integer pid);
    Integer selectCarNumson(Integer pid);
    Integer selectCarNumsdo(Integer pid);


    DataGridView findAllcarsBypid( McarParkingVo mcarParking);

    void setParkingState(Integer id, String state);
    void setParkinguState(@Param("id") Integer id, @Param("state") String uState);
    void setParkingpState(Integer id, String pState);



    void addpUser(MerchantUsers users);

    void register(MerchantAuth users);

    void deleteById(Integer id);

    void deleteByIds(Integer[] ids);

    User findUserByTel(String mPhonenum);

    MerchantUsers findPuserByid(Integer id);

    void addcode(MerchantCode merchantCode);



    String findCodeBytelephone(String telephone);

    void uppassword(@Param("telephone") String telephone, @Param("password") String password);

    void addcar(McarParking mcarParking);
}
